import request from '@/utils/request'

const api_name = '/pms/dispordrls'
export default {
  findPage(pageNo, pageSize) {
    return request({
      url: `${api_name}/${pageNo}/${pageSize}`,
      method: 'post'
    })
  },
  view(dispOrdRlsId) {
    return request({
      url: `${api_name}/${dispOrdRlsId}`,
      method: 'get'
    })
  },
  updateRelease(dispOrdRlsId){
    return request({
      url:`${api_name}/updateRelease/${dispOrdRlsId}`,
      method:'post'
    })
  }
}
